package com.zc.common.generate.service;

public interface SegmentApiClient {

    default String getCode(String key) {
        return this.getCode(key, 0);
    }


    public String getCode(String key, Integer bit);

    public String getDailyCode(String key, Integer bit);

    default String getDailyCode(String key) {
        return this.getDailyCode(key, 0);
    }
}
